package com.aabte.design2.behavioral.chain.v3;

import lombok.Data;

/**
 * 原始组件应该能够使用帮助操作的默认实现
 *
 * @author Daniel
 * @version 1.0
 * @date 2020/5/3
 */
@Data
public class Button extends Component {

    private String text;

    public Button(int x, int y, int width, int height, String text) {
        super(x, y, width, height);
        this.text = text;
    }
}
